#!/bin/bash
numbers=`find $1 -type f  -size +10M 2>/dev/null |xargs ls -l 2>/dev/null|wc -l`
size1=`find $1 -type f -size +10M 2>/dev/null |xargs ls -l | awk '{sum+=$5} END{print sum}'`
echo "超过10M的文件数目：$numbers"
size=`echo "$size1/1024/1024"|bc` 
echo  "这些文件的总大小是：$size M" 
